#include <iostream>
#include <string>

using namespace std;

class stu
{
private:
    /* data */
public:
    stu()
    {
        cout << "我是无参构造" << endl;
    }
    stu(string str)
    {
        cout << "我是有参构造" << "传入了:" << str << endl;
    }

    // 析构函数
    ~stu()
    {
        cout << "我是析构" << endl;
    }
};

int main(int argc, char const *argv[])
{
    stu s1;
    
    s1.~stu();
    
    cout << "hello" << endl;
    
    return 0;
}
